/*
 * @Author: 45F
 * @Date: 2019-08-07 11:03:53
 * @LastEditors: 45F
 * @LastEditTime: 2019-09-01 16:45:15
 * @Description: 公共模块
 */
import axios from '@/libs/api.request'

export default {
  // 上传文件
  postUpload (data) {
    return axios.request({
      url: `/upload`,
      data: data,
      method: 'post'
    })
  },
  // 获取字典子菜单列表
  getChildDictionary (data) {
    return axios.request({
      url: `/childDictionary`,
      params: data,
      method: 'get'
    })
  }
}
